package com.daogu.fuelcard.service;

import com.daogu.fuelcard.entity.OilCard;
import com.daogu.fuelcard.utils.Result;
import com.github.pagehelper.PageInfo;

import java.math.BigDecimal;
import java.util.List;

public interface OilCardService {

    Result<Void> insert(OilCard oilCard);

    Result<Void> deletedById(String id);

    Result<Void> updateBalance(String cardNo, BigDecimal balance);

    Result<PageInfo<OilCard>> getOilCard(Integer pageNum, Integer pageSize);

}
